home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mission to McDonaldLand
/
Mission To McDonaldLand.iso
/
calnz.dxr
/
00013_Script_btn_norm
< prev
next >
Wrap
Text File
|
1998-10-25
|
553b
|
29 lines
property ancestor
on birth me,sp, no, ro, pr,lc,tg,sc,ds,rs,urs,ObjsP,titleP
set ancestor to birth(script "bt",sp, no,ro,pr,lc,tg,sc,ds,rs,urs,ObjsP,TitleP)
return me
end
on click me
if the mystate of me ="up" then
press (me)
doScript(me)
end if
end click
on clickup me
if the mystate of me = "down" then
norm(me)
doUpScript(me)
end if
end clickUp
on press me
set the mystate of me = "down"
set the member of sprite the myChannel of me to the myPressed of me
updateStage
end